<template>
  <Parent></Parent>
</template>
<script setup>
import { ref, provide } from 'vue'

import Parent from './components/ParentInject.vue'
const count = ref(10)

provide('count', count)

const updateCount = value => {
  count.value = value
}

provide('updateCount', updateCount)
</script>
<style lang="less"></style>
